quit -sim
.main clear
set env(ALTERA_LIB)         altera18.0_questasim_10.6c_lib
set env(LIB_PATH)           F:/crack/
vmap   $env(ALTERA_LIB)     $env(LIB_PATH)$env(ALTERA_LIB)

#工程所需要的文件
vlog -sv -incr ../bench/*.sv
vlog -incr ../hdl/*.v


vsim -t ps -novopt -L $env(ALTERA_LIB) work.move_average_tb

log -r /*
radix 16

do wave.do

run 100us
